package com.itcncp.wechat.app.rpc.api;

import com.itcncp.common.base.BaseService;
import com.itcncp.wechat.app.dao.model.ItcsTransJnl;
import com.itcncp.wechat.app.dao.model.ItcsTransJnlExample;

/**
* ItcsTransJnlService接口
* Created by itcncp on 2018/1/12.
*/
public interface ItcsTransJnlService extends BaseService<ItcsTransJnl, ItcsTransJnlExample> {

    /**
     * 统计该用户属于某一车牌下的通行费记录汇总
     * @param userId
     * @param plateno
     * @return
     */
    ItcsTransJnl totalPlateTollFare(Long userId,String plateno);

    /**
     * 根据用户在在白名单中的车牌查询当前30内的订单信息
     * @param userId
     * @return
     */
    ItcsTransJnl getByWxitWhitelistUserId(Long userId);
}